home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PVDRIVER
/
GSVIEW10.ZIP
/
GSVIEW2.RC
< prev
next >
Wrap
Text File
|
1993-06-30
|
18KB
|
425 lines
/*
* gsview2.rc -- Language independent resources for GSVIEW.EXE,
* a graphical interface for MS-Windows Ghostscript
* Copyright (C) 1993 Russell Lang
*/
#ifndef GSVIEW_VERSION
#include "gsview.h"
#endif
/* button table */
/* Each button is specified by a menu item identifier */
/* The button contents is given by a BITMAP with the same identifier */
/* or a STRINGTABLE entry with the same identifier, or an ICON with */
/* the same identifier */
/* The table ends with a NULL */
gsview_button RCDATA
BEGIN
IDM_OPEN,
IDM_PRINT,
IDM_INFO,
IDM_HELPCONTENT,
IDM_GOTO,
IDM_NEXT,
IDM_PREV,
IDM_NEXTSKIP,
IDM_PREVSKIP,
0
END
/* This section gives the default entries for the [Devices] section of */
/* gsview.ini, used to specify available printer drivers. */
/* Each line contains a device name and available resolutions, separated */
/* by commas. Don't use spaces. Each line must end with a '\0' */
/* The last line of this section must be "\0" */
/* Maximum line length is 128 */
gsview_devices RCDATA
BEGIN
"mswinprn,\0" /* can't set resolution in device dialog box */
"deskjet,300x300,150x150,100x100,75x75\0"
"djet500,300x300,150x150,100x100,75x75\0"
"laserjet,300x300,150x150,100x100,75x75\0"
"ljetplus,300x300,150x150,100x100,75x75\0"
"ljet2p,300x300,150x150,100x100,75x75\0"
"ljet3,300x300,150x150,100x100,75x75\0"
"cdeskjet,300x300,150x150,100x100,75x75\0"
"cdjcolor,300x300,150x150,100x100,75x75\0"
"cdjmono,300x300,150x150,100x100,75x75\0"
"cdj550,300x300,150x150,100x100,75x75\0"
"paintjet,180x180,90x90\0"
"pjetxl,180x180,90x90\0"
"epson,360x180,240x180,180x180,120x180,60x180,180x60,120x60,60x60,240x72,120x72,60x72\0"
"eps9high,240x216,120x216,60x216\0"
"ibmpro,360x180,240x180,180x180,120x180,60x180,180x60,120x60,60x60,240x72,120x72,60x72\0"
"bj10e,360x360,360x180,180x360,180x180\0"
"bmpmono,72,96\0"
"bmp16,72,96\0"
"bmp256,72,96\0"
"bmp16m,72,96\0"
"gifmono,72,96\0"
"gif8,72,96\0"
"\0"
END
/* header to control page orientation */
gsview_orientation RCDATA
BEGIN
"/gsview_orientation {\r\n"
" gsview_offset\r\n"
" gsave clippath pathbbox grestore\r\n"
" 4 dict begin\r\n"
" /ury exch def /urx exch def /lly exch def /llx exch def\r\n"
" gsview_landscape\r\n"
" {-90 rotate\r\n llx ury add neg llx lly sub translate} if\r\n"
" gsview_upsidedown\r\n"
" {180 rotate\r\n llx urx add neg lly ury add neg translate} if\r\n"
" gsview_seascape\r\n"
" {90 rotate\r\n lly llx sub lly urx add neg translate} if\r\n"
" end\r\n} def\r\n"
"/showpage\r\n{1 true .outputpage\r\n"
" erasepage initgraphics\r\ngsview_orientation\r\n} bind def\r\n"
"gsview_orientation\r\n"
"/gsview_cleanup {clear cleardictstack} def\r\n"
"/gsview_setpagesize {\r\n"
" gsview_landscape gsview_seascape or {exch} if\r\n"
" //statusdict begin .setpagesize end gsview_orientation} def\r\n"
"/letter {612 792 gsview_setpagesize} def\r\n"
"/note {540 720 gsview_setpagesize} def\r\n"
"/legal {612 1008 gsview_setpagesize} def\r\n"
"/a3 {842 1190 gsview_setpagesize} def\r\n"
"/a4 {595 842 gsview_setpagesize} def\r\n"
"/a5 {421 595 gsview_setpagesize} def\r\n"
"/a6 {297 421 gsview_setpagesize} def\r\n"
"/b4 {709 1002 gsview_setpagesize} def\r\n"
"/flsa {612 936 gsview_setpagesize} def\r\n"
"/flse {612 936 gsview_setpagesize} def\r\n"
"/halfletter {396 612 gsview_setpagesize} def\r\n"
"/11x17 {792 1224 gsview_setpagesize} def\r\n"
"/ledger {1224 792 gsview_setpagesize} def\r\n"
"\0"
END
/* header to warn of operators incompatible with EPS */
gsview_epswarn RCDATA
BEGIN
"/eps_warn {(Warning: EPS file must not use ) print dup == flush systemdict exch get exec} def\015\012"
"/banddevice {/banddevice eps_warn} def\015\012"
"/clear {/clear eps_warn} def\015\012"
"/cleardictstack {/cleardictstack eps_warn} def\015\012"
"/copypage {/copypage eps_warn} def\015\012"
"/erasepage {/erasepage eps_warn} def\015\012"
"/exitserver {/exitserver eps_warn} def\015\012" /* this won't work - exitserver is in serverdict */
"/serverdict {/serverdict eps_warn} def\015\012" /* so use this to provide warnings instead */
"/framedevice {/framedevice eps_warn} def\015\012"
"/grestoreall {/grestoreall eps_warn} def\015\012"
"/initclip {/initclip eps_warn} def\015\012"
"/initgraphics {/initgraphics eps_warn} def\015\012"
"/initmatrix {/initmatrix eps_warn} def\015\012"
"/quit {/quit eps_warn} def\015\012"
"/renderbands {/renderbands eps_warn} def\015\012"
"/setglobal {/setglobal eps_warn} def\015\012"
"/setpagedevice {/setpagedevice eps_warn} def\015\012"
"/setpageparams {/setpageparams eps_warn} def\015\012"
"/setshared {/setshared eps_warn} def\015\012"
"/startjob {/startjob eps_warn} def\015\012"
"/letter {/letter eps_warn} def\015\012"
"/note {/note eps_warn} def\015\012"
"/legal {/legal eps_warn} def\015\012"
"/a3 {/a3 eps_warn} def\015\012"
"/a4 {/a4 eps_warn} def\015\012"
"/a5 {/a5 eps_warn} def\015\012"
"/eps_warntwo {(Warning: EPS file should be careful using ) print dup == flush systemdict exch get exec} def\015\012"
"/nulldevice {/nulldevice eps_warntwo} def\015\012"
"/setgstate {/setgstate eps_warntwo} def\015\012"
"/sethalftone {/sethalftone eps_warntwo} def\015\012"
"/setmatrix {/setmatrix eps_warntwo} def\015\012"
"/setscreen {/setscreen eps_warntwo} def\015\012"
"/settransfer {/settransfer eps_warntwo} def\015\012"
"/setcolortransfer {/setcolortransfer eps_warntwo} def\015\012"
"count /eps_count exch def\015\012"
"countdictstack /eps_countdictstack exch def\015\012"
"/eps_countcheck {count eps_count\015\012"
" ne {(Warning: EPS file altered operand stack count\\n) print pstack flush} if\015\012"
" countdictstack eps_countdictstack\015\012"
" ne {(Warning: EPS file altered dictionary stack count\\n) print flush} if\015\012"
"} def\015\012"
"/gsview_cleanup {eps_countcheck systemdict begin clear cleardictstack end\015\012"
"\0"
END
gsview ICON
BEGIN
'00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
'00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
'00 00 01 00 04 00 00 00 00 00 80 02 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
'00 00 80 00 80 00 80 80 00 00 80 80 80 00 40 40'
'40 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
'00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 CC CC'
'CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC'
'CC BC CC BC CB BB CC CC BC CC BC CC CC CC CC CC'
'CC BC CC BC BC CC BC CC BC CC BC CC CC CC CC CC'
'CB CB CC BC BC CC CC CB CB CB CB CC CC CC CC CC'
'CB CB CC BC BB BB BC CB CB CB CB CC CC CC CC CC'
'BC CC BC BC BC CC BC BC CB CB CC BC CC CC CC CC'
'BC CC BC BC CB BB CC BC CC BC CC BC CC CC CC CC'
'CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC'
'CC CC CC BC CC CC CC CC CC CC CC CC CC CC CC CC'
'CC CC CC CC CC CC CC CC CC CC CC CC CC CC 00 00'
'00 FF FF FF FF FF FF FF FF F0 00 00 00 00 00 00'
'00 0F FF FF FF FF FF F0 F0 00 00 00 00 00 00 00'
'00 00 FF FF FF FF FF FF 00 00 00 00 00 00 00 00'
'00 00 0F FF FF FF FF FF F0 00 00 0F 00 00 00 FF'
'00 0F F0 FF FF FF FF FF F0 0F FF FF F0 00 00 0F'
'FF FF 0F FF FF FF FF FF 0F FF FF FF F0 00 0F FF'
'FF FF F0 FF FF FF FF FF FF FF FF FF FF F0 00 00'
'FF FF FF FF FF FF FF FF FF FF F0 00 FF 00 00 FF'
'F0 00 FF FF FF FF FF FF FF FF F0 00 0F F0 00 F0'
'00 00 FF FF FF FF FF FF FF FF 00 00 00 00 00 00'
'00 00 0F FF FF FF FF FF F0 F0 00 00 00 00 00 00'
'00 00 00 0F FF 0F F0 0F FF 00 00 00 00 00 00 00'
'00 00 00 0F F0 FF F0 0F FF 00 00 00 00 00 00 00'
'00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00'
'00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00'
'00 00 00 00 00 FF 0F 0F F0 00 00 00 00 00 00 00'
'00 00 00 00 00 0F FF FF 00 00 00 00 00 00 00 00'
'00 00 00 00 00 0F FF F0 00 00 00 00 00 00 00 00'
'00 00 00 00 00 FF FF 00 00 00 00 00 00 00 00 00'
'00 00 00 00 0F FF F0 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0